import request from '@/util/request.js';

/**
 * @description 新增投诉
 * @param {Object} data
 */
export function saveReportApi(data) {
	return request({
		url: '/complaintsReport/save',
		method: 'POST',
		data
	})
}
/**
 * @description 投诉列表
 * @param {Object} data
 */
export function getReportListApi(data) {
	return request({
		url: '/complaintsReport/userList',
		method: 'GET',
		data
	})
}
/**
 * @description 投诉详情
 * @param {Object} data
 */
export function getReportDetailApi(data) {
	return request({
		url: '/complaintsReport/detail',
		method: 'GET',
		data
	})
}